/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.util.LinkedList;

import javax.swing.JPanel;

public class boardPanel extends JPanel {
	gamePanel gPanel;
  infoPanel iPanel;
  Main game;
	

    public boardPanel(Main game) {

    	this.game = game;
    	
      this.setLayout(new BorderLayout());
      gPanel = new gamePanel();
      add(gPanel, BorderLayout.CENTER);
      iPanel = new infoPanel();
      add(iPanel, BorderLayout.EAST);
      iPanel.initialize();
    }
    
    public void startGame(){
    	gPanel.startGame();
    }

}
